import React from 'react';
import ReactDOM from 'react-dom';
import MainLayout from '@/layout';
import '@/common/index.less';
import 'antd/dist/antd.min.css';
import '@ant-design/pro-layout/dist/layout.min.css';
import {HashRouter, Switch} from 'react-router-dom';

ReactDOM.render(
   <React.StrictMode>
      <HashRouter>
         <Switch>
            <MainLayout />
         </Switch>
      </HashRouter>
   </React.StrictMode>,
   document.getElementById('root')
);
